<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Irrlicht 3D Engine: irr::video::SOverrideMaterial Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Irrlicht 3D Engine
   
   </div>
   
  </td>
  
  
  
   
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
   
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('structirr_1_1video_1_1_s_override_material.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">irr::video::SOverrideMaterial Struct Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::video::SOverrideMaterial" -->
<p><code>#include &lt;<a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>&gt;</code></p>

<p><a href="structirr_1_1video_1_1_s_override_material-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="structirr_1_1video_1_1_s_override_material.html#ad9f1deca28bf6efaa302cf736b53cbb7">SOverrideMaterial</a> ()
<dl class="el"><dd class="mdescRight">Default constructor.  <a href="#ad9f1deca28bf6efaa302cf736b53cbb7"></a><br/></dl><li>void <a class="el" href="structirr_1_1video_1_1_s_override_material.html#a265ee4ded1529220ca9f1df8acd53a60">apply</a> (<a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;material)
<dl class="el"><dd class="mdescRight">Apply the enabled overrides.  <a href="#a265ee4ded1529220ca9f1df8acd53a60"></a><br/></dl></ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li>bool <a class="el" href="structirr_1_1video_1_1_s_override_material.html#ab2606fe0a478e59ec7bcd37dd0f4125a">Enabled</a>
<dl class="el"><dd class="mdescRight">Global enable flag, overwritten by the SceneManager in each pass.  <a href="#ab2606fe0a478e59ec7bcd37dd0f4125a"></a><br/></dl><li><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#a58b20260b94f880ab4680e08c098e2f4">EnableFlags</a>
<dl class="el"><dd class="mdescRight">Which values are taken for override.  <a href="#a58b20260b94f880ab4680e08c098e2f4"></a><br/></dl><li><a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#af809f3d1a4408b8369ee94295cf01e4a">EnablePasses</a>
<dl class="el"><dd class="mdescRight">Set in which render passes the material override is active.  <a href="#af809f3d1a4408b8369ee94295cf01e4a"></a><br/></dl><li><a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#a592954208c68e970a200a208d3243b5f">Material</a>
<dl class="el"><dd class="mdescRight">The Material values.  <a href="#a592954208c68e970a200a208d3243b5f"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00148">148</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad9f1deca28bf6efaa302cf736b53cbb7"></a><!-- doxytag: member="irr::video::SOverrideMaterial::SOverrideMaterial" ref="ad9f1deca28bf6efaa302cf736b53cbb7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::video::SOverrideMaterial::SOverrideMaterial </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00164">164</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a265ee4ded1529220ca9f1df8acd53a60"></a><!-- doxytag: member="irr::video::SOverrideMaterial::apply" ref="a265ee4ded1529220ca9f1df8acd53a60" args="(SMaterial &amp;material)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::video::SOverrideMaterial::apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> &amp;&#160;</td>
          <td class="paramname"><em>material</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Apply the enabled overrides. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00167">167</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>References <a class="el" href="_s_material_layer_8h_source.html#l00206">irr::video::SMaterialLayer::AnisotropicFilter</a>, <a class="el" href="_s_material_8h_source.html#l00372">irr::video::SMaterial::AntiAliasing</a>, <a class="el" href="_s_material_8h_source.html#l00425">irr::video::SMaterial::BackfaceCulling</a>, <a class="el" href="_s_material_layer_8h_source.html#l00192">irr::video::SMaterialLayer::BilinearFilter</a>, <a class="el" href="_s_material_8h_source.html#l00392">irr::video::SMaterial::BlendOperation</a>, <a class="el" href="_s_material_8h_source.html#l00379">irr::video::SMaterial::ColorMask</a>, <a class="el" href="_s_material_8h_source.html#l00387">irr::video::SMaterial::ColorMaterial</a>, <a class="el" href="_e_material_flags_8h_source.html#l00055">irr::video::EMF_ANISOTROPIC_FILTER</a>, <a class="el" href="_e_material_flags_8h_source.html#l00072">irr::video::EMF_ANTI_ALIASING</a>, <a class="el" href="_e_material_flags_8h_source.html#l00036">irr::video::EMF_BACK_FACE_CULLING</a>, <a class="el" href="_e_material_flags_8h_source.html#l00043">irr::video::EMF_BILINEAR_FILTER</a>, <a class="el" href="_e_material_flags_8h_source.html#l00084">irr::video::EMF_BLEND_OPERATION</a>, <a class="el" href="_e_material_flags_8h_source.html#l00075">irr::video::EMF_COLOR_MASK</a>, <a class="el" href="_e_material_flags_8h_source.html#l00078">irr::video::EMF_COLOR_MATERIAL</a>, <a class="el" href="_e_material_flags_8h_source.html#l00058">irr::video::EMF_FOG_ENABLE</a>, <a class="el" href="_e_material_flags_8h_source.html#l00040">irr::video::EMF_FRONT_FACE_CULLING</a>, <a class="el" href="_e_material_flags_8h_source.html#l00023">irr::video::EMF_GOURAUD_SHADING</a>, <a class="el" href="_e_material_flags_8h_source.html#l00026">irr::video::EMF_LIGHTING</a>, <a class="el" href="_e_material_flags_8h_source.html#l00066">irr::video::EMF_NORMALIZE_NORMALS</a>, <a class="el" href="_e_material_flags_8h_source.html#l00020">irr::video::EMF_POINTCLOUD</a>, <a class="el" href="_e_material_flags_8h_source.html#l00087">irr::video::EMF_POLYGON_OFFSET</a>, <a class="el" href="_e_material_flags_8h_source.html#l00069">irr::video::EMF_TEXTURE_WRAP</a>, <a class="el" href="_e_material_flags_8h_source.html#l00048">irr::video::EMF_TRILINEAR_FILTER</a>, <a class="el" href="_e_material_flags_8h_source.html#l00081">irr::video::EMF_USE_MIP_MAPS</a>, <a class="el" href="_e_material_flags_8h_source.html#l00017">irr::video::EMF_WIREFRAME</a>, <a class="el" href="_e_material_flags_8h_source.html#l00029">irr::video::EMF_ZBUFFER</a>, <a class="el" href="_e_material_flags_8h_source.html#l00033">irr::video::EMF_ZWRITE_ENABLE</a>, <a class="el" href="_i_video_driver_8h_source.html#l00161">Enabled</a>, <a class="el" href="_i_video_driver_8h_source.html#l00154">EnableFlags</a>, <a class="el" href="_s_material_8h_source.html#l00431">irr::video::SMaterial::FogEnable</a>, <a class="el" href="_s_material_8h_source.html#l00428">irr::video::SMaterial::FrontfaceCulling</a>, <a class="el" href="_s_material_8h_source.html#l00413">irr::video::SMaterial::GouraudShading</a>, <a class="el" href="_s_material_8h_source.html#l00416">irr::video::SMaterial::Lighting</a>, <a class="el" href="_i_video_driver_8h_source.html#l00151">Material</a>, <a class="el" href="_s_material_8h_source.html#l00435">irr::video::SMaterial::NormalizeNormals</a>, <a class="el" href="_s_material_8h_source.html#l00410">irr::video::SMaterial::PointCloud</a>, <a class="el" href="_s_material_8h_source.html#l00401">irr::video::SMaterial::PolygonOffsetDirection</a>, <a class="el" href="_s_material_8h_source.html#l00397">irr::video::SMaterial::PolygonOffsetFactor</a>, <a class="el" href="_s_material_8h_source.html#l00297">irr::video::SMaterial::TextureLayer</a>, <a class="el" href="_s_material_layer_8h_source.html#l00188">irr::video::SMaterialLayer::TextureWrapU</a>, <a class="el" href="_s_material_layer_8h_source.html#l00189">irr::video::SMaterialLayer::TextureWrapV</a>, <a class="el" href="_s_material_layer_8h_source.html#l00197">irr::video::SMaterialLayer::TrilinearFilter</a>, <a class="el" href="_s_material_8h_source.html#l00439">irr::video::SMaterial::UseMipMaps</a>, <a class="el" href="_s_material_8h_source.html#l00407">irr::video::SMaterial::Wireframe</a>, <a class="el" href="_s_material_8h_source.html#l00366">irr::video::SMaterial::ZBuffer</a>, and <a class="el" href="_s_material_8h_source.html#l00422">irr::video::SMaterial::ZWriteEnable</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ab2606fe0a478e59ec7bcd37dd0f4125a"></a><!-- doxytag: member="irr::video::SOverrideMaterial::Enabled" ref="ab2606fe0a478e59ec7bcd37dd0f4125a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structirr_1_1video_1_1_s_override_material.html#ab2606fe0a478e59ec7bcd37dd0f4125a">irr::video::SOverrideMaterial::Enabled</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Global enable flag, overwritten by the SceneManager in each pass. </p>
<p>The Scenemanager uses the EnablePass array and sets Enabled to true if the Override material is enabled in the current pass. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00161">161</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>Referenced by <a class="el" href="_i_video_driver_8h_source.html#l00167">apply()</a>.</p>

</div>
</div>
<a class="anchor" id="a58b20260b94f880ab4680e08c098e2f4"></a><!-- doxytag: member="irr::video::SOverrideMaterial::EnableFlags" ref="a58b20260b94f880ab4680e08c098e2f4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#a58b20260b94f880ab4680e08c098e2f4">irr::video::SOverrideMaterial::EnableFlags</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Which values are taken for override. </p>
<p>OR'ed values from E_MATERIAL_FLAGS. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00154">154</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>Referenced by <a class="el" href="_i_video_driver_8h_source.html#l00167">apply()</a>.</p>

</div>
</div>
<a class="anchor" id="af809f3d1a4408b8369ee94295cf01e4a"></a><!-- doxytag: member="irr::video::SOverrideMaterial::EnablePasses" ref="af809f3d1a4408b8369ee94295cf01e4a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceirr.html#ae9f8ec82692ad3b83c21f555bfa70bcc">u16</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#af809f3d1a4408b8369ee94295cf01e4a">irr::video::SOverrideMaterial::EnablePasses</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set in which render passes the material override is active. </p>
<p>OR'ed values from E_SCENE_NODE_RENDER_PASS. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00157">157</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

</div>
</div>
<a class="anchor" id="a592954208c68e970a200a208d3243b5f"></a><!-- doxytag: member="irr::video::SOverrideMaterial::Material" ref="a592954208c68e970a200a208d3243b5f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1video_1_1_s_material.html">SMaterial</a> <a class="el" href="structirr_1_1video_1_1_s_override_material.html#a592954208c68e970a200a208d3243b5f">irr::video::SOverrideMaterial::Material</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The Material values. </p>

<p>Definition at line <a class="el" href="_i_video_driver_8h_source.html#l00151">151</a> of file <a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a>.</p>

<p>Referenced by <a class="el" href="_i_video_driver_8h_source.html#l00167">apply()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_i_video_driver_8h_source.html">IVideoDriver.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceirr.html">irr</a>      </li>
      <li class="navelem"><a class="el" href="namespaceirr_1_1video.html">video</a>      </li>
      <li class="navelem"><a class="el" href="structirr_1_1video_1_1_s_override_material.html">SOverrideMaterial</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Tue Jan 19 2016 16:08:56 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
